﻿#pragma once

#include <QDialog>
#include "ui_SetRateModeDialogUi.h"


class SetRateModeDialog : public QDialog
{
  Q_OBJECT

private:
  Ui_SetRateModeDialog ui;
public:
  SetRateModeDialog(QWidget* parent = Q_NULLPTR);
  ~SetRateModeDialog();

public slots:
  int exec() override;
  void accept() override;
public:
  float getRate();
  float getAcceleration();
public:
  int getAccuracy();
  void setAccuracy(int accuracy);
  float getTurnTableRateUpperLimit();
  void setTurnTableRateUpperLimit(float turnTableRateUpperLimit);
  float getTurnTableRateLowerLimit();
  void setTurnTableRateLowerLimit(float turnTableRateLowerLimit);
  float getTurnTableAccelerationUpperLimit();
  void setTurnTableAccelerationUpperLimit(float  turnTableAccelerationUpperLimit);
  float getTurnTableAccelerationLowerLimit();
  void setTurnTableAccelerationLowerLimit(float turnTableAccelerationLowerLimit);
};
